!!!
%html
  %head
    %title= @html_title
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
    %meta{"http-equiv"=>"X-UA-Compatible", :content=>"IE=edge"}/
    %meta{:name=>'viewport', :content=>'width=device-width, initial-scale=1'}/

    = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
    = javascript_include_tag :application, 'data-turbolinks-track': 'reload'
    -#%script{:src => "/assets/js/jquery-ui-1.10.3.min.js", "data-turbolinks-track" => 'true'}
    = csrf_meta_tag
    = yield(:head)
  %body
    %nav.navbar.navbar-default{role: 'navigation', style: "margin-bottom: 0px"}
      = link_to '' do
        %img{src: "/assets/img/kea_logo.png", style: 'width: 195px; height: 60px; padding-left: 50px'}
      %ul.nav.navbar-nav.pull-right{style: 'padding-top: 5px; padding-right: 30px'}
    .col-md-1{style: "margin-top: 10px; padding-right: 0px;"}
      %ul.list-group
        = link_to carousels_path do
          %li.list-group-item 首页轮显图
        - Post.plate_id.options.each do |plate|
          = link_to posts_path(plate_id: plate[1]) do
            %li.list-group-item= plate[0]
    .col-xs-11
      .container-fluid.row-fluid{style: "padding-left: 0px; padding-right: 0px;"}
        - flash.each do |name, msg|
          - notice_name = (name==:notice ? 'info' : 'danger')
          = content_tag :div, msg, :id => "flash_#{name}", :class=>"alert alert-#{notice_name} fade in"
        = yield

